package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportInvoiceDTO;
import com.hunttown.mes.rpc.domain.query.TransportInvoiceDTOQuery;

/**
 * created by wangjunfu on 2019-07-07 10:50:10
 */
public interface TransportInvoiceRpcService {

    TransportInvoiceDTO insert(TransportInvoiceDTO transportInvoiceDTO);

    Boolean updateInfoById(TransportInvoiceDTO transportInvoiceDTO);

    Boolean updateInfoByQuery(TransportInvoiceDTOQuery transportInvoiceDTOQuery);

    TransportInvoiceDTO selectById(Integer id);

    TransportInvoiceDTO selectObjByQuery(TransportInvoiceDTOQuery transportInvoiceDTOQuery);

    Page<TransportInvoiceDTO> getListForPage(TransportInvoiceDTOQuery transportInvoiceDTOQuery);

    Boolean deleteById(Integer id);
}